<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.13"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>CqCore: CqPersonInfo类 参考</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="customdoxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">CqCore
   &#160;<span id="projectnumber">0.1</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.8.13 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'搜索');
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',true,false,'search.php','搜索');
  $(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public 成员函数</a> &#124;
<a href="class_cq_person_info-members.html">所有成员列表</a>  </div>
  <div class="headertitle">
<div class="title">CqPersonInfo类 参考</div>  </div>
</div><!--header-->
<div class="contents">

<p>个人信息  
 <a href="class_cq_person_info.html#details">更多...</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public 成员函数</h2></td></tr>
<tr class="memitem:ab813fe7fcc045efab81bb83901262d3d"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_cq_person_info.html#ab813fe7fcc045efab81bb83901262d3d">CqPersonInfo</a> (const char *info)</td></tr>
<tr class="memdesc:ab813fe7fcc045efab81bb83901262d3d"><td class="mdescLeft">&#160;</td><td class="mdescRight">构造函数  <a href="#ab813fe7fcc045efab81bb83901262d3d">更多...</a><br /></td></tr>
<tr class="separator:ab813fe7fcc045efab81bb83901262d3d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4771c91bab6b8477ccd66d022732dbd2"><td class="memItemLeft" align="right" valign="top"><a id="a4771c91bab6b8477ccd66d022732dbd2"></a>
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_cq_person_info.html#a4771c91bab6b8477ccd66d022732dbd2">CqPersonInfo</a> (const <a class="el" href="class_cq_person_info.html">CqPersonInfo</a> &amp;other)</td></tr>
<tr class="memdesc:a4771c91bab6b8477ccd66d022732dbd2"><td class="mdescLeft">&#160;</td><td class="mdescRight">赋值构造函数 <br /></td></tr>
<tr class="separator:a4771c91bab6b8477ccd66d022732dbd2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a65a18698d904a63ca7142eba1fd30e07"><td class="memItemLeft" align="right" valign="top"><a id="a65a18698d904a63ca7142eba1fd30e07"></a>
<a class="el" href="class_cq_person_info.html">CqPersonInfo</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_cq_person_info.html#a65a18698d904a63ca7142eba1fd30e07">operator=</a> (const <a class="el" href="class_cq_person_info.html">CqPersonInfo</a> &amp;rhs)</td></tr>
<tr class="memdesc:a65a18698d904a63ca7142eba1fd30e07"><td class="mdescLeft">&#160;</td><td class="mdescRight">赋值函数 <br /></td></tr>
<tr class="separator:a65a18698d904a63ca7142eba1fd30e07"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9eeaf32e2d5008745165ead94896001e"><td class="memItemLeft" align="right" valign="top"><a id="a9eeaf32e2d5008745165ead94896001e"></a>
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_cq_person_info.html#a9eeaf32e2d5008745165ead94896001e">~CqPersonInfo</a> ()</td></tr>
<tr class="memdesc:a9eeaf32e2d5008745165ead94896001e"><td class="mdescLeft">&#160;</td><td class="mdescRight">析构函数 <br /></td></tr>
<tr class="separator:a9eeaf32e2d5008745165ead94896001e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a19c75c0c3cc043988d68fe3247386654"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_cq_person_info.html#a19c75c0c3cc043988d68fe3247386654">isValid</a> () const</td></tr>
<tr class="memdesc:a19c75c0c3cc043988d68fe3247386654"><td class="mdescLeft">&#160;</td><td class="mdescRight">验证有效信息  <a href="#a19c75c0c3cc043988d68fe3247386654">更多...</a><br /></td></tr>
<tr class="separator:a19c75c0c3cc043988d68fe3247386654"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a89e24716f23e4269a3dfbaea7b1f3b11"><td class="memItemLeft" align="right" valign="top">qint64&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_cq_person_info.html#a89e24716f23e4269a3dfbaea7b1f3b11">uid</a> () const</td></tr>
<tr class="memdesc:a89e24716f23e4269a3dfbaea7b1f3b11"><td class="mdescLeft">&#160;</td><td class="mdescRight">返回个人号码  <a href="#a89e24716f23e4269a3dfbaea7b1f3b11">更多...</a><br /></td></tr>
<tr class="separator:a89e24716f23e4269a3dfbaea7b1f3b11"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad7ee2f95e8bfcac28b429450b8879a0a"><td class="memItemLeft" align="right" valign="top">qint32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_cq_person_info.html#ad7ee2f95e8bfcac28b429450b8879a0a">sex</a> () const</td></tr>
<tr class="memdesc:ad7ee2f95e8bfcac28b429450b8879a0a"><td class="mdescLeft">&#160;</td><td class="mdescRight">返回性别  <a href="#ad7ee2f95e8bfcac28b429450b8879a0a">更多...</a><br /></td></tr>
<tr class="separator:ad7ee2f95e8bfcac28b429450b8879a0a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5af75e8e4d86fbb58cafc9cad997da9d"><td class="memItemLeft" align="right" valign="top">qint32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_cq_person_info.html#a5af75e8e4d86fbb58cafc9cad997da9d">age</a> () const</td></tr>
<tr class="memdesc:a5af75e8e4d86fbb58cafc9cad997da9d"><td class="mdescLeft">&#160;</td><td class="mdescRight">返回年龄  <a href="#a5af75e8e4d86fbb58cafc9cad997da9d">更多...</a><br /></td></tr>
<tr class="separator:a5af75e8e4d86fbb58cafc9cad997da9d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab09db509ccd1e632e68fb43d82d1cfa2"><td class="memItemLeft" align="right" valign="top">QString&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_cq_person_info.html#ab09db509ccd1e632e68fb43d82d1cfa2">nickName</a> () const</td></tr>
<tr class="memdesc:ab09db509ccd1e632e68fb43d82d1cfa2"><td class="mdescLeft">&#160;</td><td class="mdescRight">返回昵称  <a href="#ab09db509ccd1e632e68fb43d82d1cfa2">更多...</a><br /></td></tr>
<tr class="separator:ab09db509ccd1e632e68fb43d82d1cfa2"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">详细描述</h2>
<div class="textblock"><p>个人信息 </p>
</div><h2 class="groupheader">构造及析构函数说明</h2>
<a id="ab813fe7fcc045efab81bb83901262d3d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab813fe7fcc045efab81bb83901262d3d">&#9670;&nbsp;</a></span>CqPersonInfo()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">CqPersonInfo::CqPersonInfo </td>
          <td>(</td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>info</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>构造函数 </p>
<p>通过裸数据构造一个 <a class="el" href="class_cq_person_info.html" title="个人信息 ">CqPersonInfo</a> 的对象。 </p>

</div>
</div>
<h2 class="groupheader">成员函数说明</h2>
<a id="a5af75e8e4d86fbb58cafc9cad997da9d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5af75e8e4d86fbb58cafc9cad997da9d">&#9670;&nbsp;</a></span>age()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">qint32 CqPersonInfo::age </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>返回年龄 </p>
<p>如果个人信息有效，返回年龄；否则返回 0。 </p>

</div>
</div>
<a id="a19c75c0c3cc043988d68fe3247386654"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a19c75c0c3cc043988d68fe3247386654">&#9670;&nbsp;</a></span>isValid()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool CqPersonInfo::isValid </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>验证有效信息 </p>
<p>如果填充的个人信息有效，此函数会返回 true；否则返回 false。 </p>

</div>
</div>
<a id="ab09db509ccd1e632e68fb43d82d1cfa2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab09db509ccd1e632e68fb43d82d1cfa2">&#9670;&nbsp;</a></span>nickName()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QString CqPersonInfo::nickName </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>返回昵称 </p>
<p>如果个人信息有效，返回昵称，不为空；如果信息无效，返回空。 </p>

</div>
</div>
<a id="ad7ee2f95e8bfcac28b429450b8879a0a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad7ee2f95e8bfcac28b429450b8879a0a">&#9670;&nbsp;</a></span>sex()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">qint32 CqPersonInfo::sex </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>返回性别 </p>
<p>如果个人信息有效，返回性别，1 代表男性，2 代表女性，99 代表未知；否则返回 0。 </p>

</div>
</div>
<a id="a89e24716f23e4269a3dfbaea7b1f3b11"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a89e24716f23e4269a3dfbaea7b1f3b11">&#9670;&nbsp;</a></span>uid()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">qint64 CqPersonInfo::uid </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>返回个人号码 </p>
<p>如果个人信息有效，返回个人号码；否则返回 0。 </p>

</div>
</div>
<hr/>该类的文档由以下文件生成:<ul>
<li>C:/Users/Monster/Documents/GitHub/qtassistant/cqcore/<a class="el" href="cqpersoninfo_8h_source.html">cqpersoninfo.h</a></li>
<li>C:/Users/Monster/Documents/GitHub/qtassistant/cqcore/cqpersoninfo.cpp</li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
制作者 &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.13
</small></address>
</body>
</html>
